package cn.wolfcode.wolf2w.repository;

import cn.wolfcode.wolf2w.domain.UserFavors;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface UserFavorsRepository extends MongoRepository<UserFavors, String> {
    /**
     * 根据用户id查找
     * @param uid
     * @return
     */
    UserFavors findByUid(String uid);
}
